﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    
    <script src="~/js/jquery-1.9.1.js"></script>
    <script src="~/js/bootstrap.js"></script>
    <script src="~/js/restaurante.js"></script>    
    <script type="text/javascript">
        $(function () {
            $(".iframable").click(function (e) {
                e.preventDefault();
                var item = $(this);
                $("#ifrm").attr('src', item.attr("href"));
            });
        })
    </script>
    <link href="~/css/bootstrap.css" rel="stylesheet" />
    <link href="~/css/bootstrap.icon-large.min.css" rel="stylesheet" />

</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="brand" href="#">Restaurante Lancha</a>
          <div class="nav-collapse collapse">
            <p class="navbar-text pull-right">
              Bienvenido Usuario
            </p>            
          </div>
      </div>
    </div>

    <div class="container-fluid">
        <div class="row-fluid">
            <ul class="nav nav-list span3">
                <li class="nav-header"><i class="icon-tag"></i> Registros</li>
                <li>                  
                    @Html.ActionLink("Platos", "Platos", "Registros", null, new { @class = "iframable" })</li>
                <li>@Html.ActionLink("Clientes", "Clientes", "Registros", null, new { @class = "iframable" })</li>
                <li>@Html.ActionLink("Pedidos", "ListaMesa", "Registros", null, new { @class = "iframable" })</li>
                <li class="nav-header"><i class="icon-tag"></i> Reportes</li>
                <li>@Html.ActionLink("Mejores Clientes", "MejoresClientes", "Reporte", null, new { @class = "iframable" })</li>
                <!--<li>Html.ActionLink("Mejor Cliente Por su Consumo", "MejorConsumo", "Reporte", null, new { class = "iframable" })</li>-->
                <li>@Html.ActionLink("Platos más Vendidos", "RepPlatos", "Reporte", null, new { @class = "iframable" })</li>              
                <li class="nav-header"><i class="icon-tag"></i> Comprobante</li>
                <li>@Html.ActionLink("Generar Comprobante", "Factura", "Comprobante", null, new { @class = "iframable" })</li>
                
              
            </ul>
        <div class="span8">          
            <div class="row-fluid">
            <!--<div class="span12">-->
                <iframe id="ifrm" style="height:650px;">
                    @RenderBody()
                </iframe>
            </div><!--/span-->
        </div><!--/span-->
        </div><!--/row-->
        <hr>
        <footer>
            <p>© Company 2013</p>
        </footer>

    </div><!--/.fluid-container-->
</body>
</html>
